Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove generic 'context' from 'docutils.parsers.rst.RSTState' #12291

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

danieleades
Copy link
Contributor

@danieleades danieleades commented Jul 7, 2024

removes an unneeded generic from docutils RSTState.

see the discussion in sphinx-doc/sphinx#12511

Copy link
Contributor

github-actions bot commented Jul 7, 2024

Diff from mypy_primer, showing the effect of this PR on open source code:

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/util/typing.py:34:28: error: "RSTState" expects no type arguments, but 1 given  [type-arg]

@danieleades danieleades marked this pull request as ready for review July 7, 2024 07:06
@srittau srittau merged commit 5305de8 into python:main Jul 7, 2024
48 checks passed
@danieleades danieleades deleted the rst-state-machine branch July 7, 2024 11:08
max-muoto pushed a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants